package com.lcxw.hxzbadmin.entity.requestbean;

import javax.validation.constraints.NotBlank;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.validation.annotation.Validated;

@Setter
@Getter
@ToString
@Validated
@Data
public class AdminLoginRequestParams {

    @NotBlank(message = "admin用户的用户名不能为空")
    private String adminName;

    @NotBlank(message = "admin用户的密码不能为空")
    private String password;

    @NotBlank(message = "登录IP不能为空")
    private String lastLoginIp;

}
